//
//  SFMusicViewController.h
//  Sofia
//
//  Created by Anton Chebotaev on 24/11/08.
//  Copyright 2008 IFMO. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "MBPreferencesController.h"
#import "SFStandartHeader.h"

@class SFMusicFormatToken;



@interface SFMusicViewController : NSViewController <MBPreferencesModule> {

	IBOutlet NSTextField *sampleTest;
	IBOutlet NSTokenField *avaiableTokens;
	IBOutlet NSTokenField *musicFormat;
	IBOutlet NSTextField *silenceFormat;
	
	NSMutableArray *musicFormatElements;
}
- (NSString *)identifier;
- (NSImage *)image;

- (NSArray *)loadMusicFormat;
- (IBAction)saveMusicFormat:(id)sender;
- (IBAction)saveTestString:(id)sender;
- (NSString *)loadTestString;
- (IBAction)tryMusicFormat:(id)sender;

@end
